window: Handle manually bubbled events
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Jun 2014 15:55:26 +0000 (17:55 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Jun 2014 16:38:25 +0000 (18:38 +0200)
commit00656ed10bc108734a6bf677bb897d3de98bf891
treee11504c5c4763b068d76092c2b11631b72fb9996
parent7f33706c1282dde431c9b01c020f4315c730ad1c
window: Handle manually bubbled events

The multipress gesture must react to either direct events on the
GtkWindow (special cased through _gtk_widget_check_handle_wm_event),
or bubbled events from child widgets. Ensure bubbled events go
through the gesture, those are fed manually to make sure events are
only handled once, in either one or other place. The implicit grab
will ensure that doesn't change mid-action.
gtk/gtkwindow.c